.Net Framework > v3.0.6920.0 > System > Windows > Controls > TextBlock TextBlock
Category
Class
Description
Provides a lightweight control for displaying small amounts of flow content.
Assembly
PresentationFramework
Character
public
Attributes
NameValue/Assignment
LocalizabilityAttributeSystem.Windows.LocalizationCategory.Text
ContentPropertyAttributeInlines
Ancestors
FrameworkElement > UIElement > Visual > DependencyObject > DispatcherObject > Object
Implements
IContentHost, IAddChild, IServiceProvider
Contstructors
TextBlock()
TextBlock(Inline)
Properties
Background
BaselineOffset
BreakAfter
BreakBefore
ContentEnd
ContentStart
FontFamily
FontSize
FontStretch
FontStyle
FontWeight
Foreground
HostedElementsCore
Inlines
IsHyphenationEnabled
LineHeight
LineStackingStrategy
LogicalChildren
Padding
HostedElements
Text
TextAlignment
TextDecorations
TextEffects
TextTrimming
TextWrapping
Typography
VisualChildrenCount
Methods
ArrangeOverride(Size)
GetBaselineOffset(DependencyObject)
GetFontFamily(DependencyObject)
GetFontSize(DependencyObject)
GetFontStretch(DependencyObject)
GetFontStyle(DependencyObject)
GetFontWeight(DependencyObject)
GetForeground(DependencyObject)
GetLineHeight(DependencyObject)
GetLineStackingStrategy(DependencyObject)
GetPositionFromPoint(Point,Boolean)
GetRectanglesCore(ContentElement)
GetTextAlignment(DependencyObject)
GetVisualChild(Int32)
HitTestCore(PointHitTestParameters)
InputHitTestCore(Point)
MeasureOverride(Size)
OnChildDesiredSizeChangedCore(UIElement)
OnCreateAutomationPeer()
OnPropertyChanged(DependencyPropertyChangedEventArgs)
OnRender(DrawingContext)
SetBaselineOffset(DependencyObject,Double)
SetFontFamily(DependencyObject,FontFamily)
SetFontSize(DependencyObject,Double)
SetFontStretch(DependencyObject,FontStretch)
SetFontStyle(DependencyObject,FontStyle)
SetFontWeight(DependencyObject,FontWeight)
SetForeground(DependencyObject,Brush)
SetLineHeight(DependencyObject,Double)
SetLineStackingStrategy(DependencyObject,LineStackingStrategy)
SetTextAlignment(DependencyObject,TextAlignment)
ShouldSerializeBaselineOffset()
ShouldSerializeInlines(XamlDesignerSerializationManager)
ShouldSerializeText()
GetService()
GetRectangles()
InputHitTest()
OnChildDesiredSizeChanged()
AddChild()
AddText()
Fields
BackgroundProperty
BaselineOffsetProperty
FontFamilyProperty
FontSizeProperty
FontStretchProperty
FontStyleProperty
FontWeightProperty
ForegroundProperty
IsHyphenationEnabledProperty
LineHeightProperty
LineStackingStrategyProperty
PaddingProperty
TextAlignmentProperty
TextDecorationsProperty
TextEffectsProperty
TextProperty
TextTrimmingProperty
TextWrappingProperty
Tags
0103E2B958, 02E3ABA98D, 034B4F5192
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database